package cn.zebra.dev.mall.module.orders.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;

@Getter
@Setter
@ToString
public class OrdersListDTO {

    @ApiModelProperty("订单id")
    private Long ordersId;

    @ApiModelProperty("订单所属店铺id")
    private Long shopId ;

    @ApiModelProperty("订单类型(0:普通订单;6:虚拟订单)")
    private Integer ordersType;

    @ApiModelProperty("订单编号")
    private String ordersSn;

    @ApiModelProperty("总价")
    private BigDecimal totalPrice;

    @ApiModelProperty("订单状态(-1:已取消;0:待付款;1:已付款;10:待发货;20:已发货;30:进行中;50:待评价;100:已完成;500:已转卖)")
    private Integer ordersStatus;

    @ApiModelProperty("下单时间")
    private LocalDateTime createTime;

    @ApiModelProperty("订单商品详情列表")
    private List<OrdersListItemDTO> itemList;
}
